package com.meteor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meteor.entity.OwnerRoom;
import com.meteor.entity.Unit;
import com.meteor.vo.OwnerRoomVO;
import com.meteor.vo.UnitVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author lynn
 * @date 2024/1/26
 */


@Mapper
public interface OwnerRoomMapper extends BaseMapper<OwnerRoom> {

    List<OwnerRoomVO> getList(Map<String, Object> params);

    List<OwnerRoomVO> getUserId(String userId,String communityId,Integer roomStatus);

    List<OwnerRoomVO> getOwnerRoom(List<String> roomId);

    List<OwnerRoomVO> getAwaitUserId(String userId, String communityId);

    List<OwnerRoomVO> getOwnerRoomIds(List<String> roomIds);

}
